package com.fortune.rainshine.feign.common;

import com.fortune.rainshinecommon.base.AliOssParmsModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@FeignClient(value = "rain-shine-common")
@RestController
public interface AliOssService {

    @PostMapping(value = "/aliOss/uploadFile")
    void uploadFile(AliOssParmsModel parm);

    @PostMapping(value = "/aliOss/getUrl")
    String getUrl(String fileName);
}
